package com.lee.common.utils


const val LOGIN_TOKEN_OUT = 11000   //token过期
const val ERROR_CODE_N = 10000   //token过期
const val LOGIN_NOT_EXIST = 400  //用户不存在
const val Old_Pass_Error = 402   //原密码错误

const val MODEL_MISMATCH = 10001           //型号不匹配
const val DEVICE_WAREHOUSED = 10002        //此设备已入库
const val DEVICE_EX_WAREHOUSE = 10003      //此设备已出库
const val DEVICE_BORROW = 10004            //此设备已借用
const val DEVICE_DAMAGE = 10005            //此设备已损坏
const val DEVICE_NOT = 10006               //库存不足
const val DEVICE_NOT_FIND = 10007          //此设备未找到
const val NOT_FIND_WAREHOUSE = 10008       //没有找到此仓库
const val DEVICE_SCAN_COMPLETE = 10009     //设备已满，不能扫描
const val APPLY_FROM_NO_COMPLETE = 10010   //申请单未完成
const val STOCK_NOT_ENOUGH = 10011          //申请单审批失败，库存不足
const val STATE_ERROR = 10012              //申请单审批失败，状态值有误

const val PAGE_SIZE = 10

const val DATABASE_NAME = "hinnotek-amoeba-db"
const val SHARED_PREFERENCES_NAME = "amoeba-sharedPre"

var accessToken = ""

const val ACTIVITY_CHANGE_PASS: String = "/login/changPass"

//盘库管理信息查询
const val ACTIVITY_WAREHOUSE_MAIN = "/activity/warehouse/main"

//盘库管理信息查询
const val ACTIVITY_WAREHOUSE_QUERY = "/activity/warehouse/query"

//盘库管理信详情页面
const val ACTIVITY_WAREHOUSE_DETAILS = "/activity/warehouse/queryDetails"

//临时借用
const val ACTIVITY_NONCE_BORROWING = "/activity/warehouse/nonceBorrowing"

//预出库
const val ACTIVITY_PRE_EX_WAREHOUSE = "/activity/warehouse/rreExWarehouse"
const val ACTIVITY_PRE_EX_WAREHOUSE_LIST = "/activity/warehouse/rreExWarehouseList"
const val ACTIVITY_PRE_EX_WAREHOUSE_DETAIL = "/activity/warehouse/rreExWarehouseDetail"

//临时借用列表
const val ACTIVITY_NONCE_BORROWING_LIST = "/activity/warehouse/nonceBorrowingList"

//临时借用详情
const val ACTIVITY_NONCE_BORROWING_DETAIL = "/activity/warehouse/nonceBorrowingDetail"

//设备详情
const val ACTIVITY_DEVICE_DETAILS = "/activity/warehouse/deviceDetails"

//设备使用情况详情页面
const val ACTIVITY_DEVICE_USAGE_DETAILS = "/activity/warehouse/deviceUsageDetails"

//设备使用情况查询
const val ACTIVITY_DEVICE_USAGE_QUERY = "/activity/warehouse/deviceUsageQuery"

//入库
const val ACTIVITY_WAREHOUSE_STOCK_IN = "/activity/warehouse/stockIn"

//出库
const val ACTIVITY_WAREHOUSE_STOCK_OUT = "/activity/warehouse/stockOut"

//入库单个仓库列表
const val ACTIVITY_WAREHOUSE_STOCK_IN_LIST = "/activity/warehouse/stockInList"
const val ACTIVITY_WAREHOUSE_STOCK_NUMBER_DETAIL = "/activity/warehouse/stockNumDetail"

//出库单个仓库列表
const val ACTIVITY_WAREHOUSE_STOCK_OUT_LIST = "/activity/warehouse/stockOutList"

//入库单个详情
const val ACTIVITY_WAREHOUSE_STOCK_IN_DETAIL = "/activity/warehouse/stockInDetail"

//出库单个详情
const val ACTIVITY_WAREHOUSE_STOCK_OUT_DETAIL = "/activity/warehouse/stockOutDetail"

//新增入库
const val ACTIVITY_WAREHOUSE_NEW_STOCK_IN = "/activity/warehouse/newStockIn"

//报损
const val ACTIVITY_WAREHOUSE_LOSS_REPORT = "/activity/warehouse/lossReport"

//报损列表
const val ACTIVITY_WAREHOUSE_LOSS_REPORT_LIST = "/activity/warehouse/lossReportList"

//报损列表详情提交
const val ACTIVITY_WAREHOUSE_LOSS_REPORT_ADD = "/activity/warehouse/lossReportAdd"

//台账
const val ACTIVITY_WAREHOUSE_MACHINE_ACCOUNT = "/activity/warehouse/machineAccount"

//台账列表
const val ACTIVITY_WAREHOUSE_MACHINE_ACCOUNT_LIST = "/activity/warehouse/machineAccountList"

//台账列表详情
const val ACTIVITY_WAREHOUSE_MACHINE_ACCOUNT_DETAIL = "/activity/warehouse/machineAccountDetail"

//二维码
const val ACTIVITY_WAREHOUSE_QRCODE_SCAN = "/activity/warehouse/QRCodeScan"
const val ACTIVITY_QRCODE_DETAIL_SCAN = "/activity/warehouse/QRScanDetail"

//供应商
const val ACTIVITY_WAREHOUSE_SUPPLIER_INFO = "/activity/warehouse/supplierInfo"

//登录
const val ACTIVITY_LOGIN_NEW = "/activity/loginNew"
const val ACTIVITY_LOGIN_ABOUT = "/activity/about"
const val ACTIVITY_MAIN_NEW = "/activity/mainNew"
const val ACTIVITY_MAIN_OLD = "/oldActivity/main"
const val ACTIVITY_WEB = "/activity/web"
const val ACTIVITY_WEB2 = "/activity/web2"
const val ACTIVITY_MODIFY_PASS = "/activity/modifyPass"

//Fragment
const val FRAGMENT_MAIN = "/fragment/fragmentMain"
const val FRAGMENT_HOME = "/fragment/fragmentHome"
const val FRAGMENT_MY = "/fragment/fragmentMY"


const val isAmoebaOrCompany = "isAmoebaOrCompany" //1-阿米巴；2-公司；3-第三方组织；4-其它
const val isAmoebaStatistics = "isAmoebaStatistics" //1-阿米巴统计
const val isNoticeApprove = "isNoticeApprove" //1-通知消息审批
const val isCompanyBusiness = "isCompanyBusiness" //2=公司商务
const val isCompanyFinance = "isCompanyFinance" //2=公司财务
const val isPhoneNumPay = "isPhoneNumPay" //2=手机号缴费
const val isAmoebaSell = "isAmoebaSell" //2=阿米巴销售
const val isAmoebaTechnology = "isAmoebaTechnology" //2=阿米巴技术
const val isAmoebaRD = "isAmoebaRD" //2=阿米巴研发
const val isAmoebaWareHouse = "isAmoebaWareHouse" //2=阿米巴研发


